package zzy.fast;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;


public abstract class BaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());
        create(savedInstanceState);
    }

    public abstract int getLayoutId();

    public abstract void create(Bundle savedInstanceState);


}
